package com.example.onlineeducation.data.json

import com.google.gson.annotations.SerializedName


data class ExamRecordListJson(
    @SerializedName("createTime") val createTime: String?,//考试记录时间
    @SerializedName("examId") val examId: String?, // 0
    @SerializedName("examInfo") val examInfo: ExamInfo?,
    @SerializedName("id") val id: String?,
    @SerializedName("isPass") val isPass: String?, // 0
    @SerializedName("mediaInfo") val mediaInfo: MediaInfo?,
    @SerializedName("point") val point: String?, // 0
    @SerializedName("updateTime") val updateTime: String?
) {

    data class ExamInfo(
        @SerializedName("name") val name: String?,//考试名称
        @SerializedName("needPoint") val needPoint: String?, //达标分数
        @SerializedName("times") val times: Int?, //考试总时长(分钟)
        @SerializedName("endTime") val endTime: String?, //考试最晚结束时间
    )

    data class MediaInfo(
        @SerializedName("webPath") val webPath: String?
    )

}